<?php

$rows = array( array('ID','UID','用户名','时间','状态','IP') );
foreach($list as $u){
	$rows[] = array( $u['id'], $u['user_id'], $u['user_name'],
				date('Y/m/d H:i:s', $u['addtime']),
				CheckinHelper::status2txt($u['status']), $u['ipaddr'], 
				 );
}
Exporter::csv($rows, '登陆日志');

LoggerHelper::manage("导出系统登陆日志");

?>